package com.biz.tool.converter.anno.impl;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;
import com.biz.tool.converter.anno.*;

import java.lang.annotation.*;

/**
 * 时间戳转换日期转换器
 *
 * @author loser
 * @date 2023/07/22 10:40
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@JacksonAnnotationsInside
@JsonSerialize
@CustomConverter(DateConverterImpl.class)
public @interface DateConverter {

    String value() default "yyyy-MM-dd";

}
